<?php
/*
Template Name: Widget Sidebar Outside
*/
?>

<?php get_header(); ?>

<?php get_sidebar(); ?>

<div id="right" class="t-page widgets-outside">
	<div id="content">
		<div id="content-inner">
			<div id="content-pad">
			
			<div id="grid-wrap">
				<div class="grid-4">
<?php while(have_posts()): the_post(); ?>
					<article id="entry-<?php the_ID(); ?>" <?php post_class('entry'); ?>>
						<header class="page">
							<h1 class="entry-title"><?php the_title(); ?></h1>
						</header>
						<div class="text clearfix">
							<?php the_content(); ?>
							<div class="clear"></div>
							<?php edit_post_link( __('Edit','creatic'), ' &#183; ', '' ); ?>
						</div>
					</article>

					<?php if(bandit::comments_enabled() || have_comments()): ?>
					<div id="entry-comments">
						<?php comments_template(); ?>
					</div>
					<?php endif; ?>
<?php endwhile;?>
				</div><!--end grid-4-->
				
				<div class="grid-2 widgets-outside">
					<ul class="widgets" id="widgets-outside">
						<?php dynamic_sidebar('bandit_sidebar_outside'); ?>
					</ul>
				</div>
			</div><!--end grid-wrap-->
			
			<div class="clear"></div>
			</div><!--end content-pad-->
			<?php get_template_part('footer-widgets'); // footer-widgets.php ?>
		</div><!--end content-inner-->
		<div class="clear"></div>
	</div><!--end content-->
	
</div><!--end right-->

<?php get_footer(); ?>